package com.zksk.admin.mapper.invoice;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.zksk.admin.domain.invoice.dto.InvoiceDto;
import com.zksk.mbg.admin.domain.MemberInvoiceRecord;
import com.zksk.mbg.admin.domain.Orders;
import org.apache.ibatis.annotations.Param;

public interface InvoiceDao extends BaseMapper<MemberInvoiceRecord> {
    /**
     * 发票列表的分页展示
     * @param pageConf
     * @param queryWrapper
     * @return
     */
    IPage<InvoiceDto> invoiceList(IPage<MemberInvoiceRecord> pageConf,
                                  @Param(Constants.WRAPPER) Wrapper<Orders> queryWrapper);
}
